package com.dragon.modules.yuegou.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 验证码配置
 * 
 * @author liuwu
 *
 */
@ConfigurationProperties(prefix = "ysq.vcode")
public class VcodeProperties {

	/**
	 * 验证码长度
	 */
	private int length = 6;

	/**
	 * 有效分钟数
	 */
	private int effectiveMinutes = 5;

	/**
	 * 短信服务提供商<br>
	 * 默认是腾讯云
	 */
	private String smsProvider = "YUNTONGXUN";

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public int getEffectiveMinutes() {
		return effectiveMinutes;
	}

	public void setEffectiveMinutes(int effectiveMinutes) {
		this.effectiveMinutes = effectiveMinutes;
	}

	public String getSmsProvider() {
		return smsProvider;
	}

	public void setSmsProvider(String smsProvider) {
		this.smsProvider = smsProvider;
	}

}
